#pragma once

class QString;
class QWidget;

extern const unsigned int UserIcon;
extern const unsigned int IconAsterisk;
extern const unsigned int IconExclamation;
extern const unsigned int IconWarning;
extern const unsigned int IconError;
extern const unsigned int IconHand;
extern const unsigned int IconQuestion;
extern const unsigned int Ok;
extern const unsigned int AbortRetryIngnore;
extern const unsigned int Help;
extern const unsigned int Right;
extern const unsigned int RtlReading;
//extern const unsigned int TopMost;
extern const unsigned int DefButton1;
extern const unsigned int DefButton2;
extern const unsigned int DefButton3;
extern const unsigned int DefButton4;
extern const unsigned int IconInformation;
extern const unsigned int IconStop;
extern const unsigned int OkCancel;
extern const unsigned int RetryCancel;

extern const unsigned int YesNo;
extern const unsigned int YesNoCancel;
extern const unsigned int IconMask;
extern const unsigned int DefMask;
extern const unsigned int ModeMask;
extern const unsigned int MiscMask;
extern const unsigned int NoFocus;
extern const unsigned int TypeMask;
extern const unsigned int TopMost;

extern const unsigned int IdOk;
extern const unsigned int IdCancel;
extern const unsigned int IdAbort;
extern const unsigned int IdRetry;
extern const unsigned int IdIgnore;
extern const unsigned int IdYes;
extern const unsigned int IdNo;

class QLocalMsgBox
{
private:
	QLocalMsgBox(void);
	~QLocalMsgBox(void);

public:
	static unsigned int messageBox(QWidget* par,const QString& title,const QString& text,
					const unsigned int flag);
	static unsigned int informationBox(QWidget* par,const QString& title,const QString& text);
	static unsigned int questionBox(QWidget* par,const QString& title,const QString& text);
	static unsigned int warningBox(QWidget* par,const QString& title,const QString& text);
	static unsigned int errorBox(QWidget* par,const QString& title,const QString& text);

};
